import { post } from "../../../utils/request";

const supervisoryList = data => post("mgt/monitor/list", data);
const delSupervisory = data => post("mgt/monitor/del", data);
const msgSourceList = data => post("mgt/monitor/msgSourceList", data);
const savesServisory = data => post("mgt/monitor/save", data);
const queryServisory = data => post("mgt/monitor/query", data);
const commitServisory = data => post("mgt/monitor/commit", data);
const updateStatus = data => post("mgt/monitor/updateStatus", data);
const getPlanList = data => post("mgt/monitor/getPlanList", data);

export default {
  supervisoryList,
  delSupervisory,
  msgSourceList,
  savesServisory,
  queryServisory,
  commitServisory,
  updateStatus,
  getPlanList
};
